﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using LuaInterface;

namespace NTUTMessagerServer
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Console.WriteLine("Server Version v1.5 complete");

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);


            //FriendModel model = new FriendModel();

            //foreach (String s in model.getFriend("si716222").Friends) 
            //{
            //    Console.WriteLine(s);
            //}

            //model.addFriend("si716222","irene");

           // model.removeFriend("huw12313212","email");

            


            //MemberListTable members = new MemberListTable();
            //members.LoadMember();

            //int i = 0;

            //members.AddMember("test" + i++, "test" + i++);
            //members.AddMember("test" + i++, "test" + i++);
            //members.AddMember("test" + i++, "test" + i++);
            //members.AddMember("test" + i++, "test" + i++);

            //members.SaveMember();

           // Console.ReadLine();
            Application.Run(new Form1());
        }
    }
}
